// const { codegen } = require('swagger-axios-codegen')
const { codegen } = require('../../dist/index.js')

codegen({
  serviceNameSuffix: '',
  useStaticMethod: true,
  methodNameMode: 'path',
  source: require('../swagger.json'),
  openApi: '2',
  // remoteUrl: 'http://localhost:44307/swagger/v1/swagger.json',
  outputDir: './services',
  strictNullChecks: false,
  // useCustomerRequestInstance: true,
  // modelMode: 'interface',

  sharedServiceOptions: false,
  // classNameMode: 'parentPath',
  useClassTransformer: false
})
